package com.acoffee.service;

import com.acoffee.pojo.Goods;
import com.acoffee.pojo.PageBean;

import java.util.List;

/**
 * @author acoffee
 * @create 2021-10-28 16:45
 */
public interface GoodsService {

    List<Goods> queryGoodsIsNew();

    List<Goods> queryGoodsIsHot();

    Goods details(int id);

    PageBean<Goods> queryPageByCid(int cid,int currentPage);

    List<Goods> queryRankGoods(int cid);
}
